package com.mf.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 胜率表
 * </p>
 *
 * @author mf
 * @since 2024-05-03
 */
@Getter
@Setter
@TableName("t_win_rate")
public class WinRate {

@TableId(value = "id", type = IdType.AUTO)
private Integer id;

/**
 * 股票代码
 */
@Schema(description = "股票代码")
private String dm;

/**
 * 成功时间
 */
@Schema(description = "成功时间")
private String successDate;

/**
 * 失败的时间
 */
@Schema(description = "失败的时间")
private String failDate;

/**
 * 成功次数
 */
@Schema(description = "成功次数")
private Integer success;

/**
 * 失败次数
 */
@Schema(description = "失败次数")
private Integer error;

/**
 * 总金额
 */
@Schema(description = "总金额")
private BigDecimal cost;

/**
 * 第二天卖出成功次数
 */
@Schema(description = "第二天卖出成功次数")
private Integer s1;

/**
 * 第三天卖出成功次数
 */
@Schema(description = "第三天卖出成功次数")
private Integer s2;

/**
 * 第四天卖出成功次数
 */
@Schema(description = "第四天卖出成功次数")
private Integer s3;

private LocalDateTime createdTime;

private LocalDateTime updateTime;
        }